﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.Finance
{
    /// <summary>
    /// 金融项
    /// </summary>
    public class FinanceItems : GeneralBase<int>
    {
        /// <summary>
        /// 父ID
        /// </summary>
        public int ParentID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        [StringLength(50)]
        public string Icon { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int ShowIndex { get; set; }
        /// <summary>
        /// 状态 0下线  1上线
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 附加信息
        /// </summary>
        public string Tag { get; set; }
        /// <summary>
        /// 模版(字典选)
        /// </summary>
        public int Masterplate { get; set; }
    }
}
